package controleur;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JCheckBox;

import model.Rules;

public class DonnerVie implements ActionListener{

	@Override
	public void actionPerformed(ActionEvent arg0) {
		JCheckBox j = (JCheckBox) arg0.getSource();
		Rules.setGiveLife(j.isSelected());
	}

}
